﻿CREATE PROCEDURE [dbo].[InventoryLinesSelect]
AS
	SET NOCOUNT ON;
SELECT Id, DocId, GoodsId, GoodsDocLineId, PartyId, PartyDocId, InputLineId, InputLineDocId, DocQntty, FactQntty, BarCode, RetailPrice, SupplierGoodsId, 
ManufacturerPrice, SupplierPrice, ImportMarkup, SupplierMarkup, GTDNumber, NDSValue, NDSTax, RetailMarkup, BatchNumber, ReadyBefore, 
MadeDate, ReestrPrice, ReestrDate, CertificateNumber, CertificateDate, CertificateOrgId, ContragentId, ContragentDocDate, ContragentDocNumber, 
Note, MD, MW
FROM dbo.vwInventoryLines
